package org.jeecg.modules.mr.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.modules.mr.entity.MsSubMeasures;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

/**
 * @Description: 用水计量
 * @Author: jeecg-boot
 * @Date:   2022-02-10
 * @Version: V1.0
 */
@Data
@ApiModel(value="mws_t_ms_measuresPage对象", description="用水计量")
public class MsMeasuresPage {

	/**id*/
	@ApiModelProperty(value = "id")
    private java.lang.String id;
	/**户号*/
	//@Excel(name = "户号", width = 15, dictTable = "mws_t_arc_customers", dicText = "code", dicCode = "id")
    //@Dict(dictTable = "mws_t_arc_customers", dicText = "code", dicCode = "id")
	@ApiModelProperty(value = "户号")
    private java.lang.String customerId;
	/**户名*/
	@Excel(name = "户名", width = 15)
	@ApiModelProperty(value = "户名")
    private java.lang.String cusName;
	/**抄表记录*/
	@Excel(name = "抄表记录", width = 15)
	@ApiModelProperty(value = "抄表记录")
    private java.lang.String recordId;
	/**抄表月份*/
	@Excel(name = "抄表月份", width = 15)
	@ApiModelProperty(value = "抄表月份")
    private java.lang.String readMonth;
	/**财务月份*/
	@Excel(name = "财务月份", width = 15)
	@ApiModelProperty(value = "财务月份")
    private java.lang.String financialMonth;
	/**起度*/
	@Excel(name = "起度", width = 15)
	@ApiModelProperty(value = "起度")
    private java.math.BigDecimal beginScale;
	/**止度*/
	@Excel(name = "止度", width = 15)
	@ApiModelProperty(value = "止度")
    private java.math.BigDecimal endScale;
	/**抄见水量*/
	@Excel(name = "抄见水量", width = 15)
	@ApiModelProperty(value = "抄见水量")
    private java.math.BigDecimal readAmount;
	/**抄见增减水量*/
	@Excel(name = "抄见增减水量", width = 15)
	@ApiModelProperty(value = "抄见增减水量")
    private java.math.BigDecimal readAjustedAmount;
	/**总分表分摊水量*/
	@Excel(name = "总分表分摊水量", width = 15)
	@ApiModelProperty(value = "总分表分摊水量")
    private java.math.BigDecimal shareAmount;
	/**换表读数*/
	@Excel(name = "换表读数", width = 15)
	@ApiModelProperty(value = "换表读数")
    private java.math.BigDecimal replaceMeterScale;
	/**换表水量*/
	@Excel(name = "换表水量", width = 15)
	@ApiModelProperty(value = "换表水量")
    private java.math.BigDecimal replaceAmount;
	/**实用水量*/
	@Excel(name = "实用水量", width = 15)
	@ApiModelProperty(value = "实用水量")
    private java.math.BigDecimal usedAmount;
	/**计量增减水量*/
	@Excel(name = "计量增减水量", width = 15)
	@ApiModelProperty(value = "计量增减水量")
    private java.math.BigDecimal measureAjustedAmount;
	/**计量水量*/
	@Excel(name = "计量水量", width = 15)
	@ApiModelProperty(value = "计量水量")
    private java.math.BigDecimal measureAmount;
	/**预存增减水量*/
	@Excel(name = "预存增减水量", width = 15)
	@ApiModelProperty(value = "预存增减水量")
    private java.math.BigDecimal storedAjustedAmount;
	/**计费增减水量*/
	@Excel(name = "计费增减水量", width = 15)
	@ApiModelProperty(value = "计费增减水量")
    private java.math.BigDecimal ajustedAmount;
	/**计费水量*/
	@Excel(name = "计费水量", width = 15)
	@ApiModelProperty(value = "计费水量")
    private java.math.BigDecimal amount;
	/**财务日期*/
	@Excel(name = "财务日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "财务日期")
    private java.util.Date financialDate;
	/**抄表本*/
	@Excel(name = "抄表本", width = 15, dictTable = "mws_t_mr_books", dicText = "name", dicCode = "id")
    @Dict(dictTable = "mws_t_mr_books", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "抄表本")
    private java.lang.String bookId;
	/**抄表员*/
	@Excel(name = "抄表员", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
    @Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
	@ApiModelProperty(value = "抄表员")
    private java.lang.String readerId;
	/**抄表时间*/
	@Excel(name = "抄表时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "抄表时间")
    private java.util.Date readTime;
	/**水表运行状态*/
	@Excel(name = "水表运行状态", width = 15, dicCode = "water_used_type")
    @Dict(dicCode = "water_used_type")
	@ApiModelProperty(value = "水表运行状态")
    private java.lang.String waterUsedType;
	/**是否临时抄表*/
	@Excel(name = "是否临时抄表", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
	@ApiModelProperty(value = "是否临时抄表")
    private Integer isTemp;
	/**是否有效*/
	@Excel(name = "是否有效", width = 15)
	@ApiModelProperty(value = "是否有效")
	private java.lang.Integer isVaild;
	/**是否删除*/
	@Excel(name = "是否删除", width = 15)
	@ApiModelProperty(value = "是否删除")
    private java.lang.Integer delFlag;
	/**说明*/
	@Excel(name = "说明", width = 15)
	@ApiModelProperty(value = "说明")
    private java.lang.String remark;
	/**租户网点*/
	@Excel(name = "租户网点", width = 15)
	@ApiModelProperty(value = "租户网点")
    private java.lang.Integer tenantId;

	@ExcelCollection(name="用水计量明细")
	@ApiModelProperty(value = "用水计量明细")
	private List<MsSubMeasures> msSubMeasuresList;

}
